/*
 * IfStatementAst.h
 *
 *  Created on: 12 Nov 2010
 *      Author: kn308
 */

#ifndef IFSTATEMENTAST_H_
#define IFSTATEMENTAST_H_

#include <MAlice/Ast/ListAst.h>
#include <MAlice/Ast/ConditionalExpressionAst.h>

namespace MAlice
{

class IfStatementAst: public ExpressionAst
{
private:
	ListAst* mTuples; // list of ConditionalExpressionAst*

public:
	IfStatementAst(ConditionalExpressionAst* cond);
	IfStatementAst(ListAst* cond);

	virtual ~IfStatementAst();
	virtual llvm::Value* generate();
};

}

#endif /* IFSTATEMENTAST_H_ */
